Component({
	properties: {
		title: {
			type: String,
			value: ''
		},
		showBack: {
			type: Boolean,
			value: false
		},
		showHome: {
			type: Boolean,
			value: false
		}
	},
	methods: {
		handleBackTap() {
			wx.navigateBack({
				delta: 1
			});
		},
		handleHomeTap() {
			wx.reLaunch({
				url: '/pages/index/index'
			});
		}
	}
});